<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    html,
    body {
      margin: 0;
      padding: 0;
      background-color: #eee;
    }

    .ware {
      height: 128px;
      background-color: #fff;
    }

    .ware .content {
      position: relative;
      height: 100%;
      padding-top: 8px;
      padding-bottom: 8px;
    }

    .ware .select {
      position: absolute;
      width: 16px;
      height: 16px;
      top: 56px;
      left: 8px;
      background-repeat: no-repeat;
      background-image: url(../image/image/select_on.png);
      background-size: 100% 100%;
      background-position: center center;
    }

    .ware .thumbnail {
      position: absolute;
      top: 14px;
      left: 32px;
      width: 100px;
      height: 100px;
    }

    .ware .info {
      padding-left: 144px;
    }

    .ware .info .name {
      height: 15px;
      color: #555555;
      margin-top: 30px;
      font-size: 15px;
    }

    .ware .info .price-tag {
      margin-top: 10px;
      height: 12px;
      font-size: 12px;
    }

    .ware .info .price-tag .price {
      color: red;
    }

    .ware .info .price-tag .unit {
      font-size: 8px;
      color: #cbcbcb;
    }

    .ware .control {
      position: absolute;
      width: 110px;
      height: 23px;
      top: 53px;
      right: 8px;
    }

    .ware .control .minus {
      position: absolute;
      top: 0;
      left: 0;
      width: 23px;
      height: 23px;
    }

    .ware .control .count {
      position: relative;
      margin-left: 31px;
      margin-right: 31px;
      width: auto;
      height: 23px;
      line-height: 23px;
      color: #444;
      font-size: 12px;
      text-align: center;
      background-image: url(../image/image/count.png);
      background-repeat: no-repeat;
      background-size: 48px 23px;
    }



    .ware .control .add {
      position: absolute;
      top: 0;
      right: 0;
      width: 23px;
      height: 23px;
    }
  </style>
</head>


<body>
  <div id="ware_id" class="ware">
    <div class="content">
      <div class="select"></div>
      <img class="thumbnail" src="../image/image/qyg1.jpg">
      <div class="info">
        <div class="name">商品名称</div>
        <div class="price-tag">
          <span class="price">￥价格</span>
          <span class="unit">/数量</span>
        </div>
      </div>
    </div>
    <div class="control">
      <img class="minus" src="../image/image/minus.png">
      <div class="count">0</div>
      <img class="add" src="../image/image/add.png" alt="">
    </div>
  </div>
</body>

</html>